#include<stdio.h>
//1.判断一个数是不是奇数
int main()
{
	int num = 15;
	if (1 == num % 2)
	{
		printf("奇数\n");
	}
	return 0;
}

//2.输出1~100的奇数
int main()
{
	int a = 1;
	while (a <= 100)
	{
		if (1 == a % 2)
		{
			printf("%d ", a);
		}
		a++;
	}
	return 0;
}

int main()
{
	int a = 0;
	for (a = 1; a <= 100; a++)
	{
		if (1 == a % 2)
			printf("%d ", a);
	}
	
	for (int a = 1; a <= 100; a += 2)
	{
		printf("%d ", a);
	}
	return 0;
}